package com.wl.cloud.system.support.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author: wanglin
 * @date: 2023-05-30 周二
 * @Version: 1.0
 * @Description:
 */
@Data
@Schema(description = "登录入参")
public class LoginDTO {
    @NotBlank(message = "登录账号不能为空")
    @Schema(required = true, description = "登录账号")
    private String username;

    @NotBlank(message = "登录密码不能为空")
    @Schema(required = true, description = "登录密码")
    private String password;
}
